using System;
using System.Collections.Generic;
using System.Text;

namespace ExchangeHog.Pop3Client
{
	public class Pop3ListItem
	{
		public int MessageId { get; set; }
		public long Octets { get; set; }
		public Pop3ListItem(int messageId, long octets)
		{
			if (messageId < 0)
				throw new ArgumentOutOfRangeException("messageNumber");
			if (octets < 1)
				throw new ArgumentOutOfRangeException("octets");

			MessageId = messageId;
			Octets = octets;
		}
	}
}
